package com.missilike.repository.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.missilike.domain.response.MilContentStatisticInfo;
import com.missilike.repository.entity.MilContentStatistic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.missilike.repository.entity.extend.MilContentStatisticExtend;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 统计表 Mapper 接口
 * </p>
 *
 * @author kin
 * @since 2019-02-19
 */
public interface MilContentStatisticMapper extends BaseMapper<MilContentStatistic> {

    List<MilContentStatisticExtend> selectContentStatistic(Page page,
                                                           @Param("title") String title,
                                                           @Param("statDate") String statDate);

    int importStatisticInfo();
}
